package com.yztc.xiami_app.bean.shopcart;

import java.io.Serializable;

import cn.bmob.v3.BmobObject;

/**
 * Created by 周旭 on 2016/11/20.
 * "购物车对应"的模板
 */

public class ShopCart extends BmobObject implements Serializable{

    private boolean status; //商品是否被选中
    private String orderCode; //订单号
    private String goodsPic; //商品的图片的Url地址
    private String goodsName; //商品名称
    private int price; //商品单价
    private int num; //商品数量

    public ShopCart(){}

    public ShopCart(String orderCode, String goodsPic, String goodsName, int price, int num) {
        this.orderCode = orderCode;
        this.goodsPic = goodsPic;
        this.goodsName = goodsName;
        this.price = price;
        this.num = num;
    }


    public boolean getStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsPic() {
        return goodsPic;
    }

    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
